﻿using AutoMapper;
using Sunlight.Manage.Common.utils;
using Sunlight.Manage.Model.Domain.DTO;
using Sunlight.Manage.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunlight.Manage.Config.MapConfig
{
    public class AutoMapperConfig:Profile
    {
        public AutoMapperConfig()
        {
            CreateMap<Sys_User,SysUserDTO>().ReverseMap();

            CreateMap<PagingData<Sys_User>, PagingData<SysUserDTO>>().ReverseMap();
        }
    }
}
